package com.higold.cloud.mvp.contract

import com.higold.cloud.base.IBaseView
import com.higold.cloud.base.IPresenter
import com.higold.cloud.mvp.model.bean.marketList.MarketList

/**
 *    author : lxz
 *    date   : 2019/9/7 11:08
 *    desc   :
 */
class MarketListContract {
    interface View : IBaseView {
        /**
         * 设置 MarketList
         */
        fun setMarketList(marketList: MarketList)

        fun showError(errorMsg: String, errorCode: Int)
    }


    interface Presenter : IPresenter<View> {
        /**
         * 获取 MarketList
         */
        fun getMarketList()
    }
}